﻿using System;

namespace WebApp.Models
{
    public class CustomerModel
    {
        public int CustomerId { get; set; }
        public string CustomerFirstName { get; set; }
        public string CustomerLastName { get; set; }
        public string CustomerCompany { get; set; }
        public string CustomerAddress { get; set; }
        public string CustomerTel { get; set; }
        public string CustomerFax { get; set; }
        public string CustomerEmail { get; set; }
        public string CustomerType { get; set; }
        public DateTime CustomerCreateDate { get; set; }
        public string CustomerCreateBy { get; set; }
        public DateTime CustomerUpdateDate { get; set; }
        public string CustomerUpdateBy { get; set; }

        public string CustomerFullName
        {
            get { return CustomerFirstName + " " + CustomerLastName; }
        }
    }
}